package com.api.demo.service;

import com.api.demo.entity.User;

public interface UserService {
    User register(User user);
    String login(String username, String password);
    User findByUsername(String username);
    boolean updateAvatar(Long userId, String avatarUrl);
    User getById(Long id);
} 